<template>
	<view class="out">
		child count is {{count}}
	</view>
</template>

<script setup> 
import {ref} from "vue";
const count = ref(100)

const updateCount = function(){
	count.value++
}

defineExpose({
	count,
	str:"fish",
	updateCount
})
</script>

<style lang="scss" scoped>

</style>